package com.groupbuying.storeinternal.dao.forManage;

import com.groupbuying.storeinternal.domain.forManage.StoreMenuDO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 菜单管理
 * @author yuwenxiaodong
 * @email yuwenxiaodong@126.com
 * @date 2019-03-22 11:55:05
 */
@Mapper
@Repository
public interface StoreMenuDao {

	StoreMenuDO get(String menuId);
	
	List<StoreMenuDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(StoreMenuDO storeMenu);
	
	int update(StoreMenuDO storeMenu);
	
	int remove(String menu_id);
	
	int batchRemove(String[] menuIds);

	List<StoreMenuDO> listMenuByAccountId(String id);

	List<String> listAccountPerms(String id);
}
